﻿<Window x:Class="CI.UI.Prototypes.EveMapWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Background="{StaticResource WindowBackgroundBrush}"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:zoom="clr-namespace:WPFExtensions.Controls;assembly=WPFExtensions" xmlns:graph="clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls" Title="EveMapWindow" Height="900" Width="1440">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Orientation="Vertical" Grid.Column="0" Grid.Row="0" Margin="2">
            <TextBlock FontSize="32" FontWeight="Bold">Map Prototype UI</TextBlock>


            <TextBlock>Layout</TextBlock>
            <ComboBox x:Name="LayoutAlgorithms" SelectionChanged="LayoutAlgorithms_SelectionChanged" ItemsSource="{Binding Path=LayoutAlgorithms}"/>
            <Button Name="Redraw" Click="RedrawButton_Click">Redraw</Button>
        </StackPanel>
        <zoom:ZoomControl x:Name="Zoom" Grid.Column="1" Grid.Row="0" Background="{StaticResource WindowBackgroundBrush}">
            <graph:GraphLayout x:Name="graphLayout" Graph="{Binding RegionGraph}" LayoutAlgorithmType="LinLog" OverlapRemovalAlgorithmType="FSA" HighlightAlgorithmType="Simple" Background="{StaticResource WindowBackgroundBrush}">

            </graph:GraphLayout>
        </zoom:ZoomControl>
    </Grid>
</Window>
